package com.learn.project2.utils;

/**
 * \* Author: Valley
 * \* Date: 2022/1/11
 * \* Time: 21:43
 * \* Description:
 */

public class SecretUtils {

    public static String enAESAndMD5(String password) throws Exception {
        String project2 = AESUtil.encrypt(Md5Utils.MultiMd5(password), "project2");
        return project2;
    }

    public static String deAESAndMD5(String password)throws Exception{
        return AESUtil.decrypt(password, "project2");
    }

}
